// cover some element-ui styles

.el-breadcrumb__inner,
.el-breadcrumb__inner a {
  font-weight: 400 !important;
}

.el-upload {
  input[type="file"] {
    display: none !important;
  }
}

.el-upload__input {
  display: none;
}


// to fixed https://github.com/ElemeFE/element/issues/2461
.el-dialog {
  transform: none;
  left: 0;
  position: relative;
  margin: 0 auto;
}

// refine element ui upload
.upload-container {
  .el-upload {
    width: 100%;

    .el-upload-dragger {
      width: 100%;
      height: 200px;
    }
  }
}

// dropdown
.el-dropdown-menu {
  a {
    display: block
  }
}

// to fix el-date-picker css style
.el-range-separator {
  box-sizing: content-box;
}
// 全部客户
.crm_client_box {
  .el-card__body{
    padding: 0;
  }
  .client_item_table{
    .cell{
      overflow: visible;
    }
  }
}

// 全部客户弹窗
.table_popup{
  .popup_box{
    .el-tabs__header{
      margin-bottom: 0;
    }
    .el-tabs__nav-wrap{
      background: #fcfcfc;
      border-top: 1px solid #ebeef5;
      border-bottom: 1px solid #ebeef5;
      &::after{
        display: none;
      }
    }
    .el-tabs__nav-scroll{
      padding: 0 20px;
      .el-tabs__item{
        height: 50px;
        line-height: 50px;
        &:focus.is-active.is-focus:not(:active){
          box-shadow: none;
        }
      }
    }
  }
  .el-table::before{
    background:transparent;
  }
  .el-drawer{
    overflow: initial;
    .el-drawer__body{
      overflow-y: scroll;
      &::-webkit-scrollbar{
        width: 8px;
        background: #fff;
      }
      &::-webkit-scrollbar-thumb{
        width: 8px;
        height: 30px;
        border-radius: 10px;
        background: #DEDEE4;
      }
    }
  }
  .el-tabs__content{
    overflow: visible;
  }
  .el-table__empty-block{
    min-height: 400px;
  }
  .el-table__body-wrapper{
    min-height: 400px;
  }
}
.clientInfo_wrapper{
  .ipt{
    .el-input__inner{
      height: 28px;
      border: none;
      background: none;
      cursor: text;
    }
  }
  .textarea{
    .el-textarea__inner{
      border: none;
      background: none;
      cursor: text;
    }
  }
}

/* el-cascader可以任选一级时的点击radio框同时点击文字也可选中  加popper-class="cancelRadio" */
.cancelRadio .el-cascader-panel .el-radio {
  width: 100%;
  height: 100%;
  z-index: 10;
  position: absolute;
  top: 10px;
  right: -10px;
}
.cancelRadio .el-cascader-panel .el-radio__input {
  // visibility: hidden;
}
.cancelRadio .el-cascader-panel .el-cascader-node__postfix {
  top: 10px;
}
